package com.sinux.generality.provider.pay.entity;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 支付订单表详细记录表
 * </p>
 *
 * @author sinux
 * @since 2023-05-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="GptPayOrderDetail对象", description="支付订单表详细记录表")
public class GptPayOrderDetail implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "支付订单细项id")
    private Long payOrderDetailId;

    @ApiModelProperty(value = "支付订单id")
    private Long payOrderId;

    @ApiModelProperty(value = "业务订单id")
    private Long businessOrderId;

    @ApiModelProperty(value = "实收金额==业务订单金额")
    private BigDecimal price;

    @ApiModelProperty(value = "子订单类型：1-会员收费")
    private Integer type;

    @ApiModelProperty(value = "应付金额")
    private BigDecimal payablePrice;

    @ApiModelProperty(value = "退款状态：0-未发生退款，1-部分退款，2-退款已完成")
    private Integer refundState;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime modifyTime;


}
